package com.example.testcentral.designpattern.factorypattern

/**
 * File Name: PizzaStore
 * Author: zhangzhenzhong
 * Created on: 2024/7/10
 * Description: 商户 标准商户 使用标准工厂的创建流程
 */
abstract class PizzaStore:SimplePizzaFactory() {
    fun orderPizza(type:String){
        pizza= createPizz(type)
        pizza.prapare()
        pizza.bake()
        pizza.cut()
        pizza.box()
    }
}